package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.Trainrecord;
import com.alibaba.fastjson.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface TrainRecordService {
    public Trainrecord selectByPrimaryKey(String tid);
    public int insert(Trainrecord record);
    public List<String> getTrainRecordList(String key, Trainrecord trainrecord);
    public int delete(Trainrecord record);
    public int deletes(List<Trainrecord> records);
    public int update(Trainrecord record);
    public Trainrecord findByTid(String tid);
//    List<String> selectTrainrecordList(String key, Trainrecord trainrecord);
    JSONObject getTrainrecordListOne(HttpServletRequest request);
    List<String> getSearchTrainRecordList(HttpServletRequest request);
    public List<Trainrecord> getListTrainRecordByListTid(List<String> stringList, Integer pageIndex, Integer pageSize);
}
